package com.tyqx.mapper;

import com.tyqx.bean.model.EthIncomeList;
import com.tyqx.bean.model.EthPoolInfo;
import com.tyqx.bean.model.StopBlockInterval;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;

public interface EthIncomeListMapper {

    public Integer insert(EthIncomeList ethIncomeList);

    public EthIncomeList selectEthIncomeListByProductDate(@Param("productDate")Date productDate,@Param("userCode")String userCode);

    public List<EthIncomeList> selectEthIncomeLists();

    public List<EthIncomeList> selectEthIncomeListsByUserCodeAndPage(@Param("userCode")String userCode,@Param("pageNum")Integer pageNum,@Param("pageSize")Integer pageSize);

    public Integer selectCountByUserCodeAndPage(@Param("userCode")String userCode,@Param("pageIndex")String pageIndex,@Param("pageSize")String pageSize);

    public Integer selectCountByUserCode(String userCode);


    public List<EthIncomeList> selectEthIncomeListsByUserCode(@Param("userCode")String userCode);

    public Integer selectByProductDate(@Param("productDate")Date productDate);

    public Integer update(EthIncomeList ethIncomeList);

}
